#ifndef SINGLE_H
#define SINGLE_H

#include <QWidget>



namespace Ui {
class single;
}

class single : public QWidget
{
    Q_OBJECT

public:
    explicit single(QWidget *parent = 0);
    ~single();

    void showIp();


private slots:
     /*!
     * \brief on_btnBack_clicked this function closes the single gui and then opens the main page
     */

    void on_btnBack_clicked();
    /*!
     * \brief on_btnStart_clicked this function executes on a button press is creates the game gui and the game master
     */
    void on_btnStart_clicked();
    /*!
     * \brief on_btnAI_clicked this button ads ann A.I player to the game.
     */
    void on_btnAI_clicked();

private:
    Ui::single *ui;
    int num = 0;

signals:
    void showgb();
    void showsmg();
    void ret();
    void signalGM();
};

#endif // SINGLE_H
